package simulator.strategy;

import simulator.fitness.FittnessMemory;

/**
 * This is a strategy where no matter the current state of the node and the polarity of fitness change 
 * the node becomes a cooperator. it is usefull if you want to asses some values for a border case (when all the nodes are cooperators)
 * @author Andrej Gajduk
 *
 */
public class CooperatorAlwaysStrategyBehaviour extends
		AbstractStrategyBehaviour {

	public CooperatorAlwaysStrategyBehaviour(
			ProbabilityCalculator pc) {
		setPc(pc);
	}

	@Override
	protected boolean toCooperateOrNotToCooperateInternal(
			boolean is_cooperator, boolean decision) {
		return true;
	}

	@Override
	public StrategyBehavior copy() {
		return this;
	}

}
